package com.yimi.yinhepda.entity.response;

/**
 * 查询库区响应实体
 * @author lj
 */
public class QueryStorageAreaResponse {
    private Data data;
    private boolean success;
    private String[] errorMessages;
    private int errorCode;

    public Data getData() {
        return data;
    }

    public void setData(Data data) {
        this.data = data;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public String[] getErrorMessages() {
        return errorMessages;
    }

    public void setErrorMessages(String[] errorMessages) {
        this.errorMessages = errorMessages;
    }

    public int getErrorCode() {
        return errorCode;
    }

    public void setErrorCode(int errorCode) {
        this.errorCode = errorCode;
    }

    public static class Data{
        private String storageCode;
        private String nextDeptCode;
        private String nextDeptName;

        public String getStorageCode() {
            return storageCode;
        }

        public void setStorageCode(String storageCode) {
            this.storageCode = storageCode;
        }

        public String getNextDeptCode() {
            return nextDeptCode;
        }

        public void setNextDeptCode(String nextDeptCode) {
            this.nextDeptCode = nextDeptCode;
        }

        public String getNextDeptName() {
            return nextDeptName;
        }

        public void setNextDeptName(String nextDeptName) {
            this.nextDeptName = nextDeptName;
        }
    }
}
